<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Lottery</title>
    <script src="plugins/rotator/util.js"></script>
    <script src="plugins/rotator/Lottery.js"></script>
    <script type="text/javascript">
        window.onload = function () {
            var urls = [];
            for (var i = 1; i <= 100; i++) {
                urls.push(randRange(10000000000, 19999999999));
            }
            var awards = [
                {name: "一等奖", value: "10000"}, {name: "二等奖", value: "5000"}, {name: "三等奖", value: "2000"}
            ];
            var rotator = new Lottery(urls, function (person) {
                console.log(person);
            }, false, awards);
        };
    </script>
</head>
<body>
<div class="container rotator"></div>

</body>
</html>